#include "Wrappers/Pthread/MutexScopedLock.hpp"

namespace wrappers {
namespace pthread {
MutexScopedLock::MutexScopedLock(Mutex &mutex)
    : mMutex(mutex)
{
  mMutex.Lock();
}

MutexScopedLock::~MutexScopedLock() {
  mMutex.Unlock();
}
}
}
